package com.mofeng.myshop.service;

import com.mofeng.myshop.domain.dto.base.SearchBaseMp;
import com.mofeng.myshop.until.R;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface ImageService {

    R addImage(MultipartFile image);

    void getImage(String imageId) throws IOException;

    R imageList(SearchBaseMp searchMp);

    R delImage(String imageId);

    void getQrCodeImage(String code) throws IOException;

    default R recoveryImage(String imageId){
        return R.SUCCESS("");
    };
}
